%% -*- mode: erlang -*-

{deps, [
    {emqx, {path, "../emqx"}},
    {emqx_utils, {path, "../emqx_utils"}}
]}.

{edoc_opts, [{preprocess, true}]}.
{erl_opts, [
    warn_unused_vars,
    warn_shadow_vars,
    warn_unused_import,
    warn_obsolete_guard,
    debug_info,
    {parse_transform}
]}.

{xref_checks, [
    undefined_function_calls,
    undefined_functions,
    locals_not_used,
    deprecated_function_calls,
    warnings_as_errors,
    deprecated_functions
]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.

{profiles, [
    {test, [
        {deps, [
            {emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.10.0"}}}
        ]}
    ]}
]}.

{project_plugins, [erlfmt]}.
